The libfuse-dev and fuse (FUSE 2) packages have been removed from
Debian Testing (forky/sid). Move them out of the unconditional package
list and only install them on older Debian/Ubuntu versions that still
provide FUSE 2. FUSE 3 support is already handled via the libfuse3-dev
argument logic.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>
e2fslibs-dev
elfutils
fsverity
- fuse
gnupg
gobject-introspection
gtk-doc-tools
libavahi-client-dev
libavahi-glib-dev
libcap-dev
- libfuse-dev
libgirepository1.0-dev
libglib2.0-dev
libglib2.0-doc
;;
esac
+ # libfuse-dev (FUSE 2) has been removed from Debian Testing.
+ # Only install it on older versions that still provide it.
+ case "${VERSION_CODENAME:-}" in
+ (buster|bullseye|bookworm|focal|jammy|bionic)
+ PACKAGES+=(fuse libfuse-dev)
+ ;;
+ esac
+
apt-get -y update
apt-get -y install "${PACKAGES[@]}" "$@"
;;